var PurchaseWarehouseInUnit = {
  setInCountUnit: function (data, unitList) {
    if (data == undefined) {
      return;
    }
    if (unitList === undefined) {
      return;
    }
    for (var j = 0; j < unitList.length; j++) {
      if (data.unit === unitList[j]) {
        data.inCountUnit = unitList[j];
        break;
      };
    }
  }
}